package com.anyi.gulimall.ware.service;

import com.anyi.gulimall.ware.vo.PurchaseDoneVo;
import com.anyi.gulimall.ware.vo.PurchaseMergeVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.anyi.gulimall.common.utils.PageUtils;
import com.anyi.gulimall.ware.entity.WmsPurchaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author anyi
 * @email 1961741003@qq.com
 * @date 2022-07-27 12:29:35
 */
public interface WmsPurchaseService extends IService<WmsPurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils getUnReceive(Map<String, Object> params);
    // 将需求项合并成需求单
    void merge(PurchaseMergeVo purchaseMergeVo);

    // 领取需求单
    void received(List<Long> ids);
    // 完成需求单
    void donePurchase(PurchaseDoneVo purchaseDoneVo);
}

